import { ElMessage } from 'element-plus'
// 提供错误提示
export const showErrorMessage = (message: string) => {
    ElMessage({
        message: message,
        type: 'error',
    })
};

export const showSuccessMessage = (message: string) => {
    ElMessage({
        message: message,
        type: 'success',
    })
}
export const showWarningMessage = (message: string) => {
    ElMessage({
        message: message,
        type: 'warning',
    })
}
export const showInfoMessage = (message: string) => {
    ElMessage({
        message: message,
        type: 'info',
    })
}